<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Halaman Admin</title>

    <!-- Bootstrap core CSS -->
    <link href="<?php echo base_url()?>assets/adminpanel_style/css/bootstrap.css" rel="stylesheet">
    <!--external css-->
    <link href="<?php echo base_url()?>assets/adminpanel_style/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>assets/adminpanel_style/css/zabuto_calendar.css">
    <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>assets/adminpanel_style/js/gritter/css/jquery.gritter.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>assets/adminpanel_style/lineicons/style.css">    
    
    <!-- Custom styles for this template -->
    <link href="<?php echo base_url()?>assets/adminpanel_style/css/style.css" rel="stylesheet">
    <link href="<?php echo base_url()?>assets/adminpanel_style/css/style-responsive.css" rel="stylesheet">

    <script src="<?php echo base_url()?>assets/adminpanel_style/js/chart-master/Chart.js"></script>
    
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

  <section id="container" >
      <!-- **********************************************************************************************************************************************************
      TOP BAR CONTENT & NOTIFICATIONS
      *********************************************************************************************************************************************************** -->
      <!--header start-->
      <header class="header black-bg">
              <div class="sidebar-toggle-box">
                  <div class="fa fa-bars tooltips" data-placement="right" data-original-title="Toggle Navigation"></div>
              </div>
            <!--logo start-->
            <a href="#" class="logo"><b>ADMINISTRATOR PANEL</b></a>
            <!--logo end-->
            <div class="top-menu">
              <ul class="nav pull-right top-menu">
                    <li><a class="logout" href="<?php echo site_url()?>/admin_panel/logout">Logout</a></li>
              </ul>
            </div>
        </header>
      <!--header end-->
      
      <!-- **********************************************************************************************************************************************************
      MAIN SIDEBAR MENU
      *********************************************************************************************************************************************************** -->
      <!--sidebar start-->
      <aside>
          <div id="sidebar"  class="nav-collapse ">
              <ul class="sidebar-menu" id="nav-accordion">
              
                  <p class="centered"><a href="#"><img src="<?php echo base_url()?>assets/adminpanel_style/img/admin.jpg" class="img-circle" width="60"></a></p>
                  <h5 class="centered">Administrator</h5>
                    
                  <li class="mt">
                      <a href="<?php echo site_url()?>/admin_panel/index">
                          <i class="fa fa-dashboard"></i>
                          <span>HOME</span>
                      </a>
                  </li>
                  <li class="sub-menu">
                      <a href="<?php echo site_url()?>/admin_panel/produk" >
                          <i class="fa fa-cogs"></i>
                          <span>Produk</span>
                      </a>
                  </li>
                  <li class="sub-menu">
                      <a href="<?php echo site_url()?>/admin_panel/kategori" >
                          <i class="fa fa-cogs"></i>
                          <span>Kategori</span>
                      </a>
                  </li>
                  <li class="sub-menu">
                      <a href="<?php echo site_url()?>/admin_panel/komentar" >
                          <i class="fa fa-book"></i>
                          <span>Komentar</span>
                      </a>
                  </li>
                  <li class="sub-menu">
                      <a href="<?php echo site_url()?>/admin_panel/pesanan" >
                          <i class="fa fa-tasks"></i>
                          <span>Pesanan</span>
                      </a>
                  </li>
                  <li class="sub-menu">
                      <a href="<?php echo site_url()?>/admin_panel/hubungikami" >
                          <i class="fa fa-th"></i>
                          <span>Hubungi Kami</span>
                      </a>
                  </li>
                  <li class="sub-menu">
                      <a href="<?php echo site_url()?>/admin_panel/statistik" >
                          <i class=" fa fa-bar-chart-o"></i>
                          <span>Statistik</span>
                      </a>
                  </li>

              </ul>
              <!-- sidebar menu end-->
          </div>
      </aside>
      <!--sidebar end-->
      
      <!-- **********************************************************************************************************************************************************
      MAIN CONTENT
      *********************************************************************************************************************************************************** -->
      <!--main content start-->
      <section id="main-content">
          <section class="wrapper">

                <div class="container">               
                      <div class="row">
                  <h2><?php echo $title?></h2>
                  <ul class="breadcrumb">
                    <li>APPS <span class="divider">/</span></li>  
                    <li><?php echo $title?></li>
                  </ul>
                  
                   <?php $this->load->view('page/' . $page) ?>

                </div>
              </div>
          </section>
      </section>

      <!--main content end-->
      <!--footer start-->
      <footer class="site-footer">
          <div class="text-center">
              2014 - PWL-09
              <a href="#" class="go-top">
                  <i class="fa fa-angle-up"></i>
              </a>
          </div>
      </footer>
      <!--footer end-->
  </section>

    <!-- js placed at the end of the document so the pages load faster -->
    <script src="<?php echo base_url()?>assets/adminpanel_style/js/jquery.js"></script>
    <script src="<?php echo base_url()?>assets/adminpanel_style/js/jquery-1.8.3.min.js"></script>
    <script src="<?php echo base_url()?>assets/adminpanel_style/js/bootstrap.min.js"></script>
    <script class="include" type="text/javascript" src="<?php echo base_url()?>assets/adminpanel_style/js/jquery.dcjqaccordion.2.7.js"></script>
    <script src="<?php echo base_url()?>assets/adminpanel_style/js/jquery.scrollTo.min.js"></script>
    <script src="<?php echo base_url()?>assets/adminpanel_style/js/jquery.nicescroll.js" type="text/javascript"></script>
    <script src="<?php echo base_url()?>assets/adminpanel_style/js/jquery.sparkline.js"></script>


    <!--common script for all pages-->
    <script src="<?php echo base_url()?>assets/adminpanel_style/js/common-scripts.js"></script>
    
    <script type="<?php echo base_url()?>text/javascript" src="assets/adminpanel_style/js/gritter/js/jquery.gritter.js"></script>
    <script type="<?php echo base_url()?>text/javascript" src="assets/adminpanel_style/js/gritter-conf.js"></script>

    <!--script for this page-->
    <script src="<?php echo base_url()?>assets/adminpanel_style/js/sparkline-chart.js"></script>    
	  <script src="<?php echo base_url()?>assets/adminpanel_style/js/zabuto_calendar.js"></script>	

  </body>
</html>
